package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.StrategyCommend;
import cn.wolfcode.luowowo.article.domain.TravelCommend;
import cn.wolfcode.luowowo.article.query.StrategyCommendQuery;
import cn.wolfcode.luowowo.article.query.TravelCommendQuery;

import java.util.List;

public interface StrategyCommendMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StrategyCommend record);

    StrategyCommend selectByPrimaryKey(Long id);

    List<StrategyCommend> selectAll();

    int updateByPrimaryKey(StrategyCommend record);

    List<StrategyCommend> seleceForList(StrategyCommendQuery qo);

    int selectMaxSequence(Long strategyId);

    List<StrategyCommend> selectCommendTop5();

}